<template>
  <button
    class="font-size-14 font-weight-500 line-height-140 primary-btn pointer"
    :class="{ block: props.block }"
    :type="type"
    @click="emit('click')"
  >
    {{ props.intl ? $t(props.label) : props.label }}
  </button>
</template>
<script setup>
const props = defineProps({
  label: { type: String, required: true },
  intl: { type: Boolean, default: false },
  block: { type: Boolean, default: false },
  type: { type: String, default: 'button' },
})
const emit = defineEmits(['click'])
</script>
<style scoped lang="scss">
.block {
  width: 100%;
}
</style>
